package org.ccay.core.io.impl;

import javax.inject.Named;

import org.ccay.core.exception.IExceptionConverter;
import org.ccay.core.io.ResourceException;

/**
 * IOException的转换器
 * @author chaowangbang
 * @since 2012-4-9
 */
@Named("IExceptionConverter.java.io.FileNotFoundException")
public class IOExceptionConverter implements IExceptionConverter {

	/* (non-Javadoc)
	 * @see org.ccay.core.exception.IExceptionConverter#convert(java.lang.Throwable)
	 */
	public Throwable convert(Throwable originalException) {
		return new ResourceException(originalException);
	}

}
